<!-- begin of popnup blog block -->

<table class="outer" cellspacing="1" width="95%">
<tr class="outer">
<th colspan="2"><{$_MD_POPNUPBLOG_NAME}></th>
</td>
<tr class="even"><td colspan="4">
<{if count($bloginfo) gt 0 }>
	<{$_MD_POPNUPBLOG_APPLICATION_PREFERENCE}></td></tr>
	<{foreach item=info from=$bloginfo}>
	<form method="post" action="edit.php">
	<tr class="head"><td colspan=4>
		Blog ID : <{$info.bid}><input type="hidden" name="bid" value="<{$info.bid}>" />
		Last Update : <{$info.lastUpdate}>
	</td></tr>
	<tr class="even">
		<td colspan=2 width="25%"><{$_MD_POPNUPBLOG_TITLE}></td>
		<td colspan=2>
		<input type="text" name="title" length="50" value="<{$info.title}>"></input>
		&nbsp;<{$_MD_POPNUPBLOG_CATEGORY}><{$info.cidselect}>
		&nbsp;<{$_MD_POPNUPBLOG_GROUPPARMITION}><{$info.gidselect}>
	</td></tr>
	<tr class="even"><td colspan=2 ><span class='fg2'><{$_MD_POPNUPBLOG_DESCRIPTION}></span></td>
		<td colspan=2><TEXTAREA name='desc' ROWS="3" COLS="50" WRAP="VIRTUAL"><{$info.desc}></TEXTAREA>
	</td></tr>
	<tr class="even">
		<td rowspan=3><{$_MD_POPNUPBLOG_PERMISSION_TITLE}></td>
		<td><{$_MD_POPNUPBLOG_PERMISSION0}></td><td colspan=2>
		<input type="radio" name="canread" value="7"<{if $info.canread eq 7}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_ADMIN}></input>
		<input type="radio" name="canread" value="6"<{if $info.canread eq 6}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_MODERATOR}></input>
		<input type="radio" name="canread" value="1"<{if $info.canread eq 1}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_MEMBER}></input>
		<input type="radio" name="canread" value="0"<{if $info.canread eq 0}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_GUEST}></input>
	</td></tr>
	<tr class="even"><td><{$_MD_POPNUPBLOG_PERMISSION1}></td><td colspan=2>
		<input type="radio" name="cancomment" value="56"<{if $info.cancomment eq 7}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_ADMIN}></input>
		<input type="radio" name="cancomment" value="48"<{if $info.cancomment eq 6}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_MODERATOR}></input>
		<input type="radio" name="cancomment" value="8"<{if $info.cancomment eq 1}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_MEMBER}></input>
		<input type="radio" name="cancomment" value="0"<{if $info.cancomment eq 0}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_GUEST}></input>
	</td></tr>
	<tr class="even"><td><{$_MD_POPNUPBLOG_PERMISSION2}></td><td colspan=2>
		<input type="radio" name="canvote" value="448"<{if $info.canvote eq 7}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_ADMIN}></input>
		<input type="radio" name="canvote" value="384"<{if $info.canvote eq 6}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_MODERATOR}></input>
		<input type="radio" name="canvote" value="64"<{if $info.canvote eq 1}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_MEMBER}></input>
		<input type="radio" name="canvote" value="0"<{if $info.canvote eq 0}> CHECKED<{/if}>><{$_MD_POPNUPBLOG_FORM_GUEST}></input>
	</td></tr>
	<tr class="even"><td colspan=2><{$_MD_POPNUPBLOG_POSTMAILADDR}>&nbsp;<{$_MD_POPNUPBLOG_MAIL_PRIMARY}></td>
		<td>
		<input type="text" name="email" value="<{$info.email}>" />
		</td>
		<td>
		<{$_MD_POPNUPBLOG_FORM_ADMIN_USAGE}>
		</td>
	</tr>
	<tr class="even"><td colspan=2><{$_MD_POPNUPBLOG_POSTMAILADDR}><p><{$_MD_POPNUPBLOG_MAIL_SECONDLY}></td><td>
		<select name="emailalias[]" size="5" multiple='multiple' style="width: 250px;">
		<{$info.emailalias_options}>
		</select>
		<input type="submit" name="remove_mailalias" value="<{$_MD_POPNUPBLOG_REMOVE}>" />
		</td><td>
		<{$_MD_POPNUPBLOG_UNAME}>&nbsp;
		<input type="text" SIZE="8" name="alias_uname" value="<{$alias_uname}>" />
		<input type="submit" name="confirm_mailalias" value="<{$_MD_POPNUPBLOG_CONFIRM}>" />
		<br />
		email&nbsp;<input type="text" name="emailalias_txt" value="<{$alias_email}>" />
		<input type="hidden" name="alias_uid" value="<{$alias_uid}>" />
		<input type="submit" name="add_mailalias" value="<{$_MD_POPNUPBLOG_ADD}>" />
	</td></tr>
	<tr class="even"><td colspan=2><{$_MD_POPNUPBLOG_SENDMAILADDR}></td><td>
		<select name="emailsends[]" size="5" multiple='multiple' style="width: 250px;">
		<{$info.emailsends_options}>
		</select>
		<input type="submit" name="remove_mailsends" value="<{$_MD_POPNUPBLOG_REMOVE}>" />
		</td><td>
		<{$_MD_POPNUPBLOG_UNAME}>&nbsp;
		<input type="text" SIZE="8" name="sends_uname" value="<{$sends_uname}>" />
		<input type="submit" name="confirm_mailsends" value="<{$_MD_POPNUPBLOG_CONFIRM}>" />
		<br />
		email&nbsp;<input type="text" name="emailsends_txt" value="<{$sends_email}>" />
		<input type="hidden" name="sends_uid" value="<{$sends_uid}>" />
		<input type="submit" name="add_mailsends" value="<{$_MD_POPNUPBLOG_ADD}>" />
	</tr>
	<tr><td colspan="4" align="center">
		<input type="submit" value=<{$_MD_POPNUPBLOG_FORM_SEND}> name="updatepreference" />
	</td></tr>
	</form>
	<{/foreach}>
<{else}>
    <{$_MD_POPNUPBLOG_APPLICATION_HEAD}></td></tr>
	<form method="post" action="application.php">
	<tr class="even"><td colspan=2 width="25%"><{$_MD_POPNUPBLOG_TITLE}></td><td>
		<input type="text" name="title" length="50" value=""></input>
		&nbsp;<{$_MD_POPNUPBLOG_CATEGORY}><{$categories}>
	</td></tr>
	<tr class="even"><td colspan=2 ><span class='fg2'><{$_MD_POPNUPBLOG_DESCRIPTION}></span></td>
		<td><TEXTAREA name='desc' ROWS="3" COLS="50" WRAP="VIRTUAL"></TEXTAREA>
	</td></tr>
	<tr class="even"><td colspan=2><{$_MD_POPNUPBLOG_GROUPPARMITION}></td>
		<td><{$groupselect}>
	</td></tr>
	<tr class="even">
		<td rowspan=3><{$_MD_POPNUPBLOG_PERMISSION_TITLE}></td>
		<td><{$_MD_POPNUPBLOG_PERMISSION0}></td><td>
		<input type="radio" name="canread" value="7"><{$_MD_POPNUPBLOG_FORM_ADMIN}></input>
		<input type="radio" name="canread" value="6"><{$_MD_POPNUPBLOG_FORM_MODERATOR}></input>
		<input type="radio" name="canread" value="1"><{$_MD_POPNUPBLOG_FORM_MEMBER}></input>
		<input type="radio" name="canread" value="0"><{$_MD_POPNUPBLOG_FORM_GUEST}></input>
	</td>
	<tr class="even"><td><{$_MD_POPNUPBLOG_PERMISSION1}></td><td>
		<input type="radio" name="cancomment" value="56"><{$_MD_POPNUPBLOG_FORM_ADMIN}></input>
		<input type="radio" name="cancomment" value="48"><{$_MD_POPNUPBLOG_FORM_MODERATOR}></input>
		<input type="radio" name="cancomment" value="8"><{$_MD_POPNUPBLOG_FORM_MEMBER}></input>
		<input type="radio" name="cancomment" value="0"><{$_MD_POPNUPBLOG_FORM_GUEST}></input>
	</td></tr>
	<tr class="even"><td><{$_MD_POPNUPBLOG_PERMISSION2}></td><td>
		<input type="radio" name="canvote" value="448"><{$_MD_POPNUPBLOG_FORM_ADMIN}></input>
		<input type="radio" name="canvote" value="384"><{$_MD_POPNUPBLOG_FORM_MODERATOR}></input>
		<input type="radio" name="canvote" value="64"><{$_MD_POPNUPBLOG_FORM_MEMBER}></input>
		<input type="radio" name="canvote" value="0"><{$_MD_POPNUPBLOG_FORM_GUEST}></input>
	</td></tr>
	<tr class="even"><td colspan=2><{$_MD_POPNUPBLOG_POSTMAILADDR}></td><td>
		<{$_MD_POPNUPBLOG_MAIL_PRIMARY}><input type="text" name="email" value="" />
		<{$_MD_POPNUPBLOG_MAIL_SECONDLY}><input type="text" name="emailalias" value="" /></td>
	</tr>
	<tr>
	<td colspan="3" align="center">
		<input type="submit" name="submit" value="<{$_MD_POPNUPBLOG_APPLICATION_SUBMIT}>" />
	</tr>
<{/if}>
	</form>
</table>
<!-- end of popnup blog block --> 